# (数据库设置)
# 设置数据库连接字符串'mysql+pymysql://root:密码@ip地址/数据库名?charset=UTF8MB4'
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:root@localhost/school4?charset=UTF8MB4'
# 不跟踪修改，不设置会有警告
SQLALCHEMY_TRACK_MODIFICATIONS = False

# 配置通用密钥;后面的字符串越复杂越好
SECRET_KEY = 'asdghjaWEWRASD'
# 每页显示条数
COUNT_PER_PAGE = 10

# 支持json返回中文
JSON_AS_ASCII = False
# Dev tests demo product

# 文件上传的目录
UPLOAD_PATH = 'upload'
